package com.jnzc.ocr.serv.shop.api;

import com.jnzc.ocr.serv.shop.entity.ShopProductSku;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author zhangcm
 * @version 1.0, 2017-09-29
 */
@FeignClient("serv-shop")
@RequestMapping("/ShopProductSkuApi")
public interface ShopProductSkuApi {

    @PostMapping("/list")
    List<ShopProductSku> list(@RequestParam("productId") Long productId, @RequestParam("shopId") Long shopId);
}
